home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / v10n11.arc / MAKEFILE < prev    next >
Text File  |  1991-05-10  |  1KB  |  31 lines

  1. #   Calls Gimpel's PC lint 4.0 and Borland's Turbo C++ 2.0
  2. chkpath.exe: makefile chkpath.c exits.h
  3.     #   Lint the debug version
  4.     lint -dDEBUG -mL chkpath.c
  5.     #   On tcc command line
  6.     #       -w      Display warnings on
  7.     #       -v      Source debugging on
  8.     #       -N      Check for stack overflow
  9.     #       -ml     Large memory model
  10.     #       -f-     Don't do floating point
  11.     #       -d      Merge duplicate strings on
  12.     #       -DDEBUG #define DEBUG to get debug version
  13.     #       -edchkpath make DCHKPATH the .EXE's name
  14.     bcc -w -v -N -ml -f- -d -DDEBUG -edchkpath chkpath.c
  15.     #   Lint the production version
  16.     lint -mL chkpath.c
  17.     #   On tcc command line
  18.     #       -Z      Enable register usage optimization
  19.     #       -w      Display warnings on
  20.     #       -N-     Don't check for stack overflow
  21.     #       -ml     Large memory model
  22.     #       -O      Optimize jumps
  23.     #       -G-     Optimize for size
  24.     #       -f-     Don't do floating point
  25.     #       -d      Merge duplicate strings on
  26.     bcc -Z -w -N- -ml -O -G- -f- -d chkpath.c
  27.     #   LZEXE compacts the executable significantly without affecting
  28.     #   run time by more than a fraction of a second.
  29.     lzexe chkpath
  30.  
  31.